package com.medical.data.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class AllFormVo {


    @NotBlank(message = "项目id不可为空")
    @ApiModelProperty(value = "项目id")
    private String projectId;

    @NotBlank(message = "节点id不可为空")
    @ApiModelProperty(value = "节点id")
    private String nodeId;

    @NotBlank(message = "是查询表单还是随访表单不可为空")
    @Length(min = 1,max = 1,message = "isFormOrFollwoUp最多为一个字符")
    @ApiModelProperty(value = "0是查询表单 1随访表单")
    private String isFormOrFollwoUp;

}
